package lab4;

public class Multy {
	public void multy(double[][] matrix1,double[][] matrix2) {
		for(int i=0;i<matrix1.length;i++) {
			for(int j=0;j<matrix2[0].length;j++) {
				Main1.m3[i][j]=0;
				for(int k=0;k<matrix1[i].length;k++) {
					Main1.m3[i][j]+=matrix1[i][k]*matrix2[k][j];
				}
			}
		}
	}
}
